SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c7ae43eb06fa3b191f6eb995256b04974f83cba77559f4ec133db331f1cfbfcd}Rafal{c7ae43eb06fa3b191f6eb995256b04974f83cba77559f4ec133db331f1cfbfcd}' OR prCity = 'Rafal' OR prZip = 'Rafal' OR prStreet LIKE '{c7ae43eb06fa3b191f6eb995256b04974f83cba77559f4ec133db331f1cfbfcd}Rafal{c7ae43eb06fa3b191f6eb995256b04974f83cba77559f4ec133db331f1cfbfcd}' OR prCountry = 'Rafal') AND (prLocation LIKE '{c7ae43eb06fa3b191f6eb995256b04974f83cba77559f4ec133db331f1cfbfcd}Spain{c7ae43eb06fa3b191f6eb995256b04974f83cba77559f4ec133db331f1cfbfcd}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{c7ae43eb06fa3b191f6eb995256b04974f83cba77559f4ec133db331f1cfbfcd}Spain{c7ae43eb06fa3b191f6eb995256b04974f83cba77559f4ec133db331f1cfbfcd}' OR prCountry = 'Spain')